import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Copyright from './components/copyright.vue'
import {
  Button, 
  Card, 
  Form, 
  FormItem, 
  Input,
  Container,
  Aside,
  Header,
  Main,
  Menu,
  MenuItem,
  Link,
  Tabs,
  TabPane,
  Table,
  TableColumn,
  Tag,
  Tooltip,
  Loading,
  Popconfirm,
  Message,
  Pagination,
  Row,
  Col,
  DatePicker,
  Upload,
  Dialog,
  Progress,
  InputNumber,
  Alert,
  Steps,
  Step,
  Divider,
  MessageBox,
  Notification
} from 'element-ui';
Vue.use(Button);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(Container);
Vue.use(Aside);
Vue.use(Header);
Vue.use(Main);
Vue.use(Menu);
Vue.use(MenuItem);
Vue.use(Link);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Tag);
Vue.use(Tooltip);
Vue.use(Loading.directive);
Vue.use(Popconfirm);
Vue.use(Pagination);
Vue.use(Row);
Vue.use(Col);
Vue.use(DatePicker);
Vue.use(Card);
Vue.use(Upload);
Vue.use(Dialog);
Vue.use(Progress);
Vue.use(InputNumber);
Vue.use(Alert);
Vue.use(Steps);
Vue.use(Step);
Vue.use(Divider);
Vue.prototype.$message = Message;
Vue.prototype.$loading = Loading
Vue.prototype.$confirm = MessageBox
Vue.prototype.$notify = Notification
Vue.config.productionTip = false

Vue.component('copyright', Copyright)


new Vue({
  render: h => h(App),
  router
}).$mount('#app')
